<!-- Wrapper-->
<div id="wrapper">
	<!-- Navigation -->
	<div ng-include="'views/common/navigation.html?v=1'"></div>
	<!-- Page wraper -->
	<div id="page-wrapper" class="gray-bg {{$state.current.name}}">
		<!-- Page wrapper -->
		<div ng-include="'views/common/topnavbar.html?v=1'"></div>

		<div ng-controller="zcindexCtl">
			<div class="wrapper wrapper-content">
				<div class="row">
					<div class="col-lg-3">
						<div class="ibox float-e-margins" style="margin-bottom: 20px;">
							<div class="ibox-title"
								style="min-height: 40px; padding-top: 10px;">
								<span class="label label-success pull-right">领用待审批/确认任务</span>
							</div>
							<div class="ibox-content"
								style="padding-top: 8px; padding-bottom: 8px">
								<h1 class="no-margins" style="font-size: 20px">{{item.lycnt}}</h1>
							</div>
						</div>
					</div>

					<div class="col-lg-3">
						<div class="ibox float-e-margins" style="margin-bottom: 20px;">
							<div class="ibox-title"
								style="min-height: 40px; padding-top: 10px;">
								<span class="label label-success pull-right">借用待审批/确认任务</span>
							</div>
							<div class="ibox-content"
								style="padding-top: 8px; padding-bottom: 8px">
								<h1 class="no-margins" style="font-size: 20px">{{item.jycnt}}</h1>
							</div>
						</div>
					</div>

					<div class="col-lg-3">
						<div class="ibox float-e-margins" style="margin-bottom: 20px;">
							<div class="ibox-title"
								style="min-height: 40px; padding-top: 10px;">
								<span class="label label-success pull-right">转移待审批/确认任务</span>
							</div>
							<div class="ibox-content"
								style="padding-top: 8px; padding-bottom: 8px">
								<h1 class="no-margins" style="font-size: 20px">{{item.zycnt}}</h1>
							</div>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="ibox float-e-margins" style="margin-bottom: 20px;">
							<div class="ibox-title"
								style="min-height: 40px; padding-top: 10px;">
								<span class="label label-success pull-right">当前报修任务</span>
							</div>
							<div class="ibox-content"
								style="padding-top: 8px; padding-bottom: 8px">
								<h1 class="no-margins" style="font-size: 20px">{{item.bxcnt}}</h1>
							</div>
						</div>
					</div>
				</div>

				<div class="row">
					<div class="col-lg-3">
						<div class="ibox float-e-margins">
							<div class="ibox-title"
								style="min-height: 40px; padding-top: 10px;">
								<span class="label label-success pull-right">维保到期资产</span>
							</div>
							<div class="ibox-content"
								style="padding-top: 8px; padding-bottom: 8px">
								<h1 class="no-margins" style="font-size: 20px">{{item.wbdqcnt}}</h1>
							</div>
						</div>
					</div>

					<div class="col-lg-3">
						<div class="ibox float-e-margins">
							<div class="ibox-title"
								style="min-height: 40px; padding-top: 10px;">
								<span class="label label-success pull-right">资产数量</span>
							</div>
							<div class="ibox-content"
								style="padding-top: 8px; padding-bottom: 8px">
								<h1 class="no-margins" style="font-size: 20px">{{item.zccnt}}</h1>
							</div>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="ibox float-e-margins">
							<div class="ibox-title"
								style="min-height: 40px; padding-top: 10px;">
								<span class="label label-success pull-right">资产金额</span>
							</div>
							<div class="ibox-content"
								style="padding-top: 8px; padding-bottom: 8px">
								<h1 class="no-margins" style="font-size: 20px">{{item.zctotal}}</h1>
							</div>
						</div>
					</div>
				</div>


				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-title">
								<h5>资产统计</h5>

								<div class="pull-right"></div>
							</div>
							<div class="ibox-content">
								<div class="row">
									<div class="col-lg-12">
										<div class="flot-chart" style="height: 350px">
											<div class="flot-chart">
												<div style="height: 350px" flot class="flot-chart-content"
													dataset="charts.flotChartData"
													options="charts.flotBarOptions"></div>
											</div>
										</div>
									</div>

								</div>
							</div>

						</div>
					</div>
				</div>

				<div class="row">

					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-title">
								<h5>流程审批列表(前10)</h5>
								<!-- <div ibox-tools></div> -->
							</div>
							<!-- <div class="ibox-content ibox-heading"></div> -->
							<div class="ibox-content">
								<table class="table">
									<thead>
										<tr>
											<th>流程编号</th>
											<th>流程状态</th>
											<th>单据编号</th>
											<th>类型</th>
											<th>标题</th>
											<th>发起人</th>
											<th>发起时间</th>
										</tr>
									</thead>
									<tbody>
										<tr ng-repeat="y in item.process_data">
											<td>{{y.processinstanceid}}</td>
											<td>{{y.pstatus}}</td>
											<td>{{y.duuid}}</td>
											<td>{{y.ptype}}</td>
											<td>{{y.ptitle}}</td>
											<td>{{y.pstartusername}}</td>
											<td>{{y.update_time}}</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
					</div>


				</div>

				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-title">
								<h5>脱保提醒</h5>
								<!-- <div ibox-tools></div> -->
							</div>
							<!-- <div class="ibox-content ibox-heading"></div> -->
							<div class="ibox-content">
								<table class="table">
									<thead>
										<tr>
											<th>资产编号</th>
											<th>资产类型</th>
											<th>资产型号</th>
											<th>资产状态</th>
											<th>位置</th>
											<th>脱保时间</th>
											<th>使用部门</th>
											<th>使用人</th>
										</tr>
									</thead>
									<tbody>
										<tr ng-repeat="y in item.res_tb_notice">
											<td>{{y.uuid}}</td>
											<td>{{y.classname}}</td>
											<td>{{y.model}}</td>
											<td>{{y.recyclestr}}</td>
											<td>{{y.locstr}}</td>
											<td>{{y.wbout_datestr}}</td>
											<td>{{y.part_name}}</td>
											<td>{{y.used_username}}</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
					</div>




				</div>

				<div class="row">

					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-title">
								<h5>报修列表</h5>
								<!-- <div ibox-tools></div> -->
							</div>
							<!-- <div class="ibox-content ibox-heading"></div> -->
							<div class="ibox-content">
								<table class="table">
									<thead>
										<tr>
											<th>资产编号</th>
											<th>资产类型</th>
											<th>资产型号</th>
											<th>资产状态</th>
											<th>位置</th>
											<th>报修时间</th>
											<th>报修原因</th>

											<th>使用部门</th>
											<th>使用人</th>
										</tr>
									</thead>
									<tbody>
										<tr ng-repeat="y in item.res_fault">
											<td>{{y.uuid}}</td>
											<td>{{y.classname}}</td>
											<td>{{y.model}}</td>
											<td>{{y.recyclestr}}</td>

											<td>{{y.locstr}}</td>
											<td>{{y.f_processtime}}</td>
											<td>{{y.f_reason}}</td>
											<td>{{y.part_name}}</td>
											<td>{{y.used_username}}</td>
										</tr>

									</tbody>
								</table>
							</div>
						</div>
					</div>


				</div>
			</div>



		</div>





	</div>
</div>